# coding: utf-8

from django.conf.urls import url
from django.views import static

import views
from functions import ImportData
from functions import TotalCal

urlpatterns = [
    url(r'^$', views.index),
    url(r'^index/$', views.index),
    url(r'^todos/?$', views.TodoView.as_view(), name='todo_list'),
    # url(r'^static/(?P<path>.*)$', static.serve, {'document_root': 'static'}),
    # url(r'^itemsort/?$', ConfigSet.ItemSortView.as_view(), name='item_sort_list'),
    url(r'^import_sort_excel/?$', ImportData.ImportSortExcel.as_view(), name='import_sort_excel'),
    url(r'^import_unit_excel/?$', ImportData.ImportUnitExcel.as_view(), name='import_unit_excel'),
    url(r'^import_samename_excel/?$', ImportData.ImportSameNameExcel.as_view(), name='import_samename_excel'),
    url(r'^import_sellmakeup_excel/?$', ImportData.ImportSellMakeUpExcel.as_view(), name='import_sellmakeup_excel'),
    url(r'^import_buy_excel/?$', ImportData.ImportBuyExcel.as_view(), name='import_buy_excel'),
    url(r'^import_sell_excel/?$', ImportData.ImportSellExcel.as_view(), name='import_sell_excel'),
    url(r'^import_inventory_excel/?$', ImportData.ImportInventoryExcel.as_view(), name='import_inventory_excel'),
    url(r'^total_cal/?$', TotalCal.TotalCal.as_view(), name='total_cal'),
    url(r'^total_cal_export/?$', TotalCal.TotalCalExport.as_view(), name='total_cal_export'),
]
